package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目
 *
 * @author luox
 */
@TableName(value = "glc_project")
public class Project {

    @TableId(type = IdType.AUTO)
    private Long id; //主键

    @TableField(value = "name")
    private String name;  //项目名称

    @TableField(value = "content")
    private String content;  //描述

    @TableField(value = "state")
    private int state;  //状态

    @TableField(value = "operator_id")
    private Long operatorId; //操作人ID

    @TableField(value = "create_time")
    private Date createTime;   //创建日期

    @TableField(value = "modify_time")
    private Date modifyTime;   //修改日期

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}
